import request from '@/api/request';

// 获取订单交易页列表
export const tradeDateList = () => {
	return request({
		url: '/order/auth/trade',
		method: 'get',
	});
};

// 提交订单
export const subOrder = (tradeNo, data) => {
	return request({
		url: `/order/auth/submitOrder?tradeNo=${tradeNo}`,
		method: 'post',
		data,
	});
};
